﻿using System;

namespace personalplaner.business.stamm
{
	public class PlanMonth : ItemBase
	{
		public override string ToString()
		{
			return Name;
		}

		int _jahrId;
		public int JahrId
		{
			get { return _jahrId; }
			set
			{
				_jahrId = value;
				RaisePropertyChanged("JahrId");
			}
		}

		int _jahr;
		public int Jahr
		{
			get { return _jahr; }
			set
			{
				_jahr = value;
				RaisePropertyChanged("Jahr");
			}
		}

		DateTime _von;
		public DateTime Von
		{
			get { return _von; }
			set
			{
				_von = value;
				RaisePropertyChanged("Von");
			}
		}

		DateTime _bis;
		public DateTime Bis
		{
			get { return _bis; }
			set
			{
				_bis = value;
				RaisePropertyChanged("Bis");
			}
		}

		int _atId;
		public int AtId
		{
			get { return _atId; }
			set
			{
				_atId = value;
				RaisePropertyChanged("AtId");
			}
		}

		double _tage;
		public double Tage
		{
			get { return _tage; }
			set
			{
				_tage = value;
				RaisePropertyChanged("Tage");
			}
		}

		int _typWert;
		public int TypWert
		{
			get { return _typWert; }
			set
			{
				_typWert = value;
				RaisePropertyChanged("TypWert");
			}
		}
	}
}
